package com.thientan.service

import com.thientan.export.ExportRequest;

class InKhachHangService extends AbstractService{
	/**
	* Return the widths of columns in the export file when export list of domains.
	*/
   protected Long[] getColWidth() {
	   return []as Long[]
   }

   /**
	* Return the column's headers in the export file when export list of domains.
	* */
   protected String[] getColTitles() {
	   return [] as String[]
   }

   /**
	* Return the fields of domain to export.
	* */
   protected String[] getColNames() {
	   return []as String[]
   }

   /**
	* Return the type of columns when export list of domains.
	* */
   protected Class<?>[] getExportColType() {
	   return []as Class<?>[]
   }
   
   void prepareParametersBeforeExport(ExportRequest er){
	   er.addParameter("ngayin", this.exportData?.ngayin)
	   er.addParameter("tenkhachhang", this.exportData?.tenkhachhang)
	   er.addParameter("diachi", this.exportData?.diachi)
	   er.addParameter("dienthoai", this.exportData?.dienthoai)
	   er.addParameter("doitruong", this.exportData?.doitruong)
	   er.addParameter("nv", this.exportData?.nv)
	   er.addParameter("conlai", this.exportData?.conlai)
	   er.addParameter("mavachpath", this.exportData?.mavachpath)
	   er.addParameter("logopath", this.exportData?.logopath)
   }
}
